<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #canvas {
      border: 1px solid #ccc;
    }
  </style>
</head>

<body>
  <canvas id="canvas" width="600" height="600"></canvas>
  <script src="utils.js"></script>
  <script src="spirit.js"></script>
  <script src="game.js"></script>
  <script src="snake.js"></script>
  <script src="scene.js"></script>
  <script src="scene_snake.js"></script>
  <script src="label.js"></script>
</body>


<script>

  function _main() {
    let canvas = document.getElementById('canvas')
    let game = new Game(canvas)
    let scene_snake = new SceneSnake(game)
    game.runWithScene(scene_snake)
  }

  _main()


</script>


</html>